package com.le.tester.book.flightjava8.stream;

import cn.hutool.core.collection.Partition;

/**
 * createTime：2025-08-13 13:46
 * description：时间性能测试
 */
public class CollectorHarness {
    public static void main(String[] args) {
        long fastest = Long.MAX_VALUE;
        for (int i = 0; i < 10; i++) {
            long start = System.nanoTime();
//            partitionPrimes(1_000_000);
            long duration = (System.nanoTime() - start) / 1000000;
            if (duration < fastest) {
                fastest = duration;
            }
        }
        System.out.println("");
    }
}
